<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>分页器</title>
    <link rel="stylesheet" href="./index.css">
    <link rel="stylesheet" href="./pagination.css">
</head>
<body>
<div class="main">
    <div class="pagination" id="pagination"></div>
</div>


<script src="./pagination.js"></script>
<script>
const PAGE_CONFIG = {
    pageSize: 10,
    totalCount: 110,
    isShowFirstAndLast: true,
    isShowEllpsis: true,
    isShowSelectPageSize: true,
    isShowTotal: true,
}

let pagination = new Pagination('pagination', PAGE_CONFIG);
pagination.initPage()
</script>

</body>
</html>